% Español
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

% Imágenes
\usepackage[pdftex]{graphicx}
\usepackage{latexsym}
\usepackage{fancybox}

% Ruta para las imágenes
\graphicspath{{img/}}

% Rotaciones
\usepackage[twoside]{rotating}

% Multirow
\usepackage{multirow}

% Referencias
\usepackage[spanish]{varioref}
\usepackage[pdftex,colorlinks=true,linkcolor=black]{hyperref}

% Colores
\usepackage{color}
\usepackage{colortbl}

% Párrafos
\setlength{\parskip}{6pt}

% Code for creating empty pages
% No headers on empty pages before new chapter
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
    \hbox{}
    \thispagestyle{empty}
    \newpage
    \if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother \clearpage{\pagestyle{empty}\cleardoublepage}
